package top.lidee.repository.model.twice.vo.applet;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.URL;
import top.lidee.repository.validator.constraints.Phone;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author 张一恒
 * @version 1.0
 * @description:
 * @date 2024/9/27 10:14
 */
@Data
public class GetByMerchantsIdEchoVo {

    @ApiModelProperty("自增ID")
    private Integer merchantId;


    @ApiModelProperty("商户名称")
    @NotBlank(message = "商户名称不能为空")
    private String name;

    @ApiModelProperty("商户logo")
    @URL(message = "商户logo不正确")
    private String logo;

    @ApiModelProperty("联系人姓名")
    @NotBlank(message = "联系人姓名不能为空")
    private String contact;



    @ApiModelProperty("联系电话")
    @Phone
    private String phone;

    @ApiModelProperty("联系地址")
    @NotNull(message = "联系地址不能为空")
    private String address;

    @ApiModelProperty("备注信息")
    private String description;

}
